package com.freedom.pms.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class GoodsSkuDTO {

    private Integer id;

    @ApiModelProperty(value="商品id")
    private Integer spuId;

    @ApiModelProperty(value="发货仓库id")
    private Integer warehouseId;

    @ApiModelProperty(value="SKU编号")
    private String skuCode;

    @ApiModelProperty(value="SKU名称")
    private String skuName;

    @ApiModelProperty(value="销售价格")
    private BigDecimal salePrice;

    @ApiModelProperty(value="销售价格(积分)")
    private BigDecimal saleIntegralPrice;

    @ApiModelProperty(value="市场价格")
    private BigDecimal marketPrice;

    @ApiModelProperty(value="成本价格")
    private BigDecimal costPrice;

    @ApiModelProperty(value="剩余库存")
    private Integer surplusStock;

    @ApiModelProperty(value="规格值图片")
    private String imgUrl;

    @ApiModelProperty(value="商品体积")
    private BigDecimal volumes;

    @ApiModelProperty(value="sku净重 单位:g")
    private BigDecimal weight;

    @ApiModelProperty(value="sku毛重，等于净重+包装（如：液体+瓶子），单位:毫克mg")
    private BigDecimal grossWeight;

    @ApiModelProperty(value="商品规格值，以英文逗号(,)分割")
    private String specIds;

    @ApiModelProperty(value="排序")
    private Integer sort;

    @ApiModelProperty(value="审核状态(1:待审核 2:审核中 3:已审核 4:审核失败)")
    private Integer verifyStatus;

    @ApiModelProperty(value="上架状态(1:待上架 2:上架 3:下架)")
    private Integer publishStatus;
}
